import React from 'react'

export default function C(props) {
  return props.name === 'wangmiao' 
      ? 
      <div>
        <h4>CCC</h4>
        <span>名字: {props.name}</span>
      </div>
      : 
      <p>
        <h5>DDD</h5>
        <p>姓名: {props.name}</p>
      </p>
    
}
